package com.zh;

import com.zh.transport.Aircraft;
import com.zh.transport.Automobile;
import com.zh.transport.Hovercraft;

public class Main {

    public static void main(String[] args) {
	// write your code here
        Person langhau = new Person("浪花哥");
        Automobile automobile1 = new Automobile("automobile1");//汽车
        Hovercraft hovercraft1 = new Hovercraft("hovercraft1"); //气垫船
        Aircraft aircraft1 = new Aircraft("aircraft1");//飞机

        langhau.driveTransport(automobile1);
        System.out.println();
        langhau.driveTransport(hovercraft1);
        System.out.println();
        langhau.driveTransport(aircraft1);


    }
}
